package org.ay.ispringboot;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
//import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

@SpringBootApplication
@EnableCaching
//@EnableEurekaServer
public class ISpringBoot implements CommandLineRunner{
	private static Logger logger = LoggerFactory.getLogger(ISpringBoot.class); 
	public static void main(String[] args) {
		SpringApplication.run(ISpringBoot.class, args);
	}
	
	/* (non-Javadoc)
	 * @see org.springframework.boot.CommandLineRunner#run(java.lang.String[])
	 */
	public void run(String... args) throws Exception {
		logger.info("ispringBoot start....");
	}
	
}
